package PaperExperiment;

import java.util.ArrayList;

public class Cell {
	
	protected int row = 0, col = 0;
	protected ArrayList<TrajRegion> listContainTraj = null;

	public Cell(int row, int col) {
		this.row = row;
		this.col = col;
		this.listContainTraj = new ArrayList<TrajRegion>();
	}
	
	public void ACT001_addNewTraj(TrajRegion tr) {
		if(!this.listContainTraj.contains(tr)) {
			this.listContainTraj.add(tr);
		}
	}
	
	public ArrayList<TrajRegion> GET001_ListContainTraj() {
		return listContainTraj;
	}
}
